import RentForm from 'components/operateSystem/rent/RentForm';
import { useParams } from 'react-router-dom-v5-compat';

const RenterForm = () => {
    const { id } = useParams();
    return <RentForm id={!!id && id !== 'add' ? id : ''}></RentForm>;
};

export default RenterForm;
